import javax.swing.*;
import java.awt.*;

/**
 * Created by ospip on 2018/10/10.
 * Copyright (c) 2018 LLAP. All rights reserved.
 */
public class Button extends JButton {
    public Button() {}

    public Button(String text) {
        super(text);
    }

    public Button(Color bg) {
        this("", bg);
    }

    public Button(String text, Color bg) {
        super(text);
        this.setBackground(bg);
    }
}
